using System;
using System.IO;
using System.Globalization;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using System.Xml;

namespace Website
{
    public sealed class NoContentActionResult : ActionResult
    {
        public override void ExecuteResult(ControllerContext context)
        {
            if (null == context)
            {
                throw new ArgumentNullException("context");
            }

            HttpResponseBase response = context.HttpContext.Response;

            response.StatusCode = (int)HttpStatusCode.NoContent;
            response.Cache.SetCacheability(HttpCacheability.NoCache);
        }
    }
}